package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/1.
 */

public class SubmitOrderEntity extends Entity {

    @Expose
    @SerializedName("result")
    public Result result;

    public class Result {
        @Expose
        @SerializedName("order_detail")
        public OrderDetails details;
        @Expose
        @SerializedName("wx_pay")
        public WechatPay wechatPay;
    }

    public class OrderDetails {
        @Expose
        @SerializedName("total_rows")
        public int total;
        @Expose
        @SerializedName("order_list")
        public List<String> orderList;
        @Expose
        @SerializedName("out_trade_no")
        public String tradeId;
    }

    public class WechatPay {
        @Expose
        @SerializedName("prepayId")
        public String prepayId;
        @Expose
        @SerializedName("nonceStr")
        public String nonceStr;
        @Expose
        @SerializedName("appId")
        public String appId;
        @Expose
        @SerializedName("package")
        public String packageName;
        @Expose
        @SerializedName("sign")
        public String sign;
        @Expose
        @SerializedName("timeStamp")
        public String timeStamp;
        @Expose
        @SerializedName("partnerId")
        public String partnerId;

    }
}
